package com.ypj.indusynergyems.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("goods")
public class GoodsEntity {
    /**
     * gods_id
     */
    private Integer godsId;

    /**
     * 商品图片
     */
    private String godsImg;

    /**
     * 商品名称
     */
    private String godsName;

    /**
     * 店铺类型ID
     */
    private Integer goodsTypeId;

    /**
     * 店铺ID
     */
    private Integer shopId;

    /**
     * 商品价格
     */
    private Integer godsPrice;

    /**
     * 商品价格
     */
    private String godsInformation;

    /**
     * 商品详情
     */
    private String godsDetail;

    /**
     * 上架时间
     */
    private Date listingTime;

    /**
     * 下架时间
     */
    private Date removalTime;

    /**
     * 库存
     */
    private String inventory;

    @TableField(exist = false)
    private String goodsTypeName;

    private Integer pmsId;
}
